package com.zzvcom.persist.model.admin;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zzvcom.persist.model.IdEntity;

@Entity
@Table(name = "subscription")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Subscription extends IdEntity
{
    private String name;

    private String email;
    
    private String addtime;

    public String getAddtime()
    {
        return addtime;
    }

    public void setAddtime(String addtime)
    {
        this.addtime = addtime;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

}
